const Mock = require('mockjs')

module.exports = () => {


  return Mock.mock({
    "list|50": [{
      "id": "@id",
      "image": "@image(180x120, @color)",
      "title": "@ctitle",
      "word": "@cword(10, 20)",
      "price|10-10000": 1,
      "sell|10-9999": 1,
      "type|1": ["数码","鞋子", "衣服", "首饰", "家电", "家具", "百货"]
    }],
    "titles": ["数码","鞋子", "衣服", "首饰", "家电", "家具", "百货"]
  })

}